﻿using System.Runtime.InteropServices;

namespace Ast.Core.Pe.Definitions
{
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
    public struct ExportDirectoryHeader
    {
        public uint Characteristics;

        public uint TimeDateStamp;

        public Version Version;

        public uint Name;

        public int Base;

        public uint NumberOfFunctions;

        public uint NumberOfNames;

        public uint AddressOfFunctions; // RVA from base of image

        public uint AddressOfNames; // RVA from base of image

        public uint AddressOfNameOrdinals; // RVA from base of image 
    }
}